public class anweiyihuo{
	public static void main(String[] args){
		int a = 0x1;
		int b = 0x2;
		System.out.printf("%x\n",a^b);//3
	}
}